package model.item;

import model.core.Renderable;
import model.effects.Effect;

public class MapGold implements Renderable, Cloneable {
	private String name;
	private String graphicID;
	private int amount;
	
	public MapGold(String name, String graphicID){
		this.name = name;
		this.graphicID = graphicID;
		this.amount = 1;
	}
	
	public MapGold(String name, String graphicID, int amount){
		this.name = name;
		this.graphicID = graphicID;
		this.amount = amount;
	}
	
	public int getAmount() {
		return amount;
	}


	@Override
	public String getGraphicID() {
		return this.graphicID;
	}


	public String getName() {
		return this.name;
	}
	
	public MapGold clone(){
		try{
		      MapGold cloned = (MapGold)super.clone();
		      return cloned;
	    }catch(CloneNotSupportedException e){
		      System.out.println(e);
		      return null;
	    }
	}
}
